<CFQUERY name="getcomponents" datasource="#application.dsn#">
SELECT * FROM components
</CFQUERY>
<FORM action="/codesaver/index.cfm" method="post">
	<SELECT name="components" size="1">
	<OPTION value="0"> Select components
	<CFOUTPUT query="getcomponents">
	<OPTION value="#componentid#">#name#</OPTION>
	</CFOUTPUT>
	</SELECT>
</FORM>
